           org  $800      ;program
; compute gamma = sum of array alpha
           move.l #alpha,a3     ;a3 points to array alpha
           move.b (a3)+,d5
           add.b  (a3)+,d5
           add.b  (a3)+,d5
           add.b  (a3)+,d5
           add.b  (a3),d5
           move.b  d5,gamma
           nop


           org  $1000      ;data
alpha      ds.b 5

gamma      ds.b 1